package com.qdh.service.impl;

import com.qdh.mapper.TravellerMapper;
import com.qdh.model.Traveller;
import com.qdh.service.TravellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TravellerServiceImpl implements TravellerService {
    @Autowired
    private TravellerMapper travellerMapper;
    @Override
    public List<Traveller> findAll() {
        return travellerMapper.findAllTraveller();
    }
}
